import {
  axios
} from '@/utils/request'

export function jbdLeadList(parameter) {
  return axios({
    url: 'jbd/jbdLeads/list',
    method: 'GET',
    params: parameter,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    }
  })
}

export function queryById(parameter) {
  return axios({
    url: 'jbd/jbdLeads/queryById',
    method: 'GET',
    params: parameter,
    headers: {
      'Content-Type': 'application/x-www-form-urlencoded',
    }
  })
}


export function Approval(parameter) {
  return axios({
    url: 'jbd/jbdLeads/approval',
    method: 'POST',
    data: parameter,
    headers: {
      'Content-Type': 'application/json',
    }
  })
}





